#!/usr/bin/env bash

#1.opencann common env
CURRENT_DIR=$(cd $(dirname -- $0); pwd)
export OPENCANN_TPATH=${CURRENT_DIR}            #当前测试套目录
export PYTHONHOME=/usr/local/python3.7.5        #python路径，根据目录自行修改

#2.manufacturer env ,such as Ascend
export INSTALL_DIR=/usr/local/Ascend/ascend-toolkit/latest/    #CANN软件安装后的文件存储路径，根据安装目录自行修改
export DDK_PATH=${INSTALL_DIR}
export NPU_HOST_LIB=${DDK_PATH}/lib64/
#export NPU_HOST_LIB=${DDK_PATH}/compiler/lib64/stub/
source ${INSTALL_DIR}/bin/setenv.bash #CANN自带环境变量批量配置脚本
